package com.xjscrm.console.chat.frame.send;

import com.xjscrm.console.chat.enums.ChatMsgType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author mingyang.chen create in 2024/3/12 13:47
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class SRecallSuccessMsg extends SResultMsg {

    @ApiModelProperty("回复的聊天记录id")
    private Long recordId;

    @ApiModelProperty("会话主键id")
    private Long talkSessionId;

    public SRecallSuccessMsg() {
        this.setResultType(ChatMsgType.s_recall_success_result.getCode());
        this.setResultTypeDesc(ChatMsgType.s_recall_success_result.getDesc());
    }

    public SRecallSuccessMsg(Long recordId, Long talkSessionId) {
        this.setResultType(ChatMsgType.s_recall_success_result.getCode());
        this.setResultTypeDesc(ChatMsgType.s_recall_success_result.getDesc());
        this.recordId = recordId;
        this.talkSessionId = talkSessionId;
    }
}
